package com.zxj.job.handler;

import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.time.LocalDateTime;

@Component
@Slf4j
public class TestXxlJob {

    @XxlJob("testHandler")
    public void testHandler() {
        log.info("testHandler: {}", LocalDateTime.now());
    }
}
